package com.quickstart.topic.dao;

import com.quickstart.entity.TopicEntity;

import java.util.List;

public interface TopicMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TopicEntity record);

    int insertSelective(TopicEntity record);

    TopicEntity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TopicEntity record);

    int updateByPrimaryKey(TopicEntity record);


    List<TopicEntity> getAllTopic();


}